This library can be used to get all kind of network/tcp information,
such as getting the Operating system name, checking if a MAC Address is
valid, check if an IP Address is valid etc.
string
|
|
string
|
getHostName(ipAddress,
defaultValue=None)
Resolves the IP address to the host name in the DNS table. |
source code
|
|
Boolean
|
|
|
convertAsciiCodesToHex(asciiSeq)
str -> str |
source code
|
|
string
|
parseMac(origmac)
Parses the given macAddress and converts it to the system format
XXXXXXXXXXXX, where X is an uppercase hexadecimal digit. |
source code
|
|
integer
|
|
string
|
|
string
|
|
int
|
isLocalIp(ip)
Checks whether the specified IP is loopback (assumes the given IP is
*valid*). |
source code
|
|
|
getAvailableProtocols(Framework,
PROT_TYPE,
IP,
DOMAIN) |
source code
|
|
|
doHttpGet(url,
timeout=20000,
requestedData='body',
headerName=None)
Performs HTTP(S) Connection to the specified URL |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
getDBConnection(userName,
password,
driverName,
connectionURL)
Return PyConnection to the database (see Jython's zxJDBC description) |
source code
|
|
|
|
|
|
string
|
|
string
|
|
|
|